﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Postings.aspx.cs" Inherits="Postings" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="rptPostings" runat="server">
        <ItemTemplate>
            <div id="posting">
               <div class="competition_box">
                 <a href="PostingInformation.aspx?PostingID=<%# Eval("PostingID") %>">
                <img id="postingImg" class="clsImageLeft" alt="" width="100px" height="150px" src='<%# Eval("Url") %>'/></a>
                <div class="container">
               <span><h1>Posting name:</h1></span>
                <a href="PostingInformation.aspx?PostingID=<%# Eval("PostingID") %>">   
                 <%# Eval("PostingName") %><br /></a>                
                <span><h1>Student name:</h1> <%# Eval("Fullname") %></span><br />
                <span><h1>Post date:</h1> <%# Eval("PostDate") %></span><br />
                 <div class="cleaner"></div>
                 </div>
                 </div>
            </div>
             <div class="cleaner">&nbsp;</div>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

